package com.lt.bookkeeping.dataSave;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @param
 * @author LiuTong
 */
@Entity
public class BookKeepData{
    /***
     *记录时间
     * 自动生成
     */
    @Id(autoincrement = true)
    Long Id;
    @Property(nameInDb = "time")
    long bookKeepTime;
    /***
     * 花费的事件
     */
    String event;
    /***
     * 花费金额
     */
    double money;
    @Generated(hash = 1386498295)
    public BookKeepData(Long Id, long bookKeepTime, String event, double money) {
        this.Id = Id;
        this.bookKeepTime = bookKeepTime;
        this.event = event;
        this.money = money;
    }
    @Generated(hash = 1155636874)
    public BookKeepData() {
    }
    public Long getId() {
        return this.Id;
    }
    public void setId(Long Id) {
        this.Id = Id;
    }
    public long getBookKeepTime() {
        return this.bookKeepTime;
    }
    public void setBookKeepTime(long bookKeepTime) {
        this.bookKeepTime = bookKeepTime;
    }
    public String getEvent() {
        return this.event;
    }
    public void setEvent(String event) {
        this.event = event;
    }
    public double getMoney() {
        return this.money;
    }
    public void setMoney(double money) {
        this.money = money;
    }

}
